package com.ky.pro.java.sharding.ecommerce.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 商品表
 * </p>
 *
 * @author Kevin Dummy
 * @since 2021-12-18
 */
@Getter
@Setter
@TableName("t_commodity")
@ApiModel(value = "Commodity对象", description = "商品表")
public class Commodity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("商品ID")
    private Long id;

    @ApiModelProperty("类目ID")
    private Long catId;

    private String comName;

    private String comCode;

    private String comDescription;

    private String comPicUrl;

    private BigDecimal comPrice;

    private Boolean delStatus;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private Integer version;


}
